package com.sunop.userservice.model;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @since 2025-03-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 身份:0-student;1-teacher
     */
    private Integer role;

    /**
     * 学号工号
     */
    private String number;

    /**
     * 积分
     */
    private Integer point;


    private String name;

    private String password;

    private String email;

    /**
     * 学院
     */
    private String department;

    /**
     * 班级
     */
    private String className;

    private Integer classId;

}
